//
//  BKPhoneCardsModel.m
//  bestkeep
//
//  Created by yons on 16/11/25.
//  Copyright © 2016年 utouu. All rights reserved.
//

#import "BKPhoneCardsModel.h"

@implementation BKPhoneCardsModel

-(instancetype)initWithDictionary:(NSDictionary*)dictionary{
    
    if (self = [super init]) {
        
        self.isp = dictionary[@"operator"];
        self.orderMonth = dictionary[@"orderMonth"];
        self.orderName = dictionary[@"orderName"];
        self.orderNo = dictionary[@"orderNo"];
        self.payAmount = dictionary[@"payAmount"];
        self.payTime = dictionary[@"payTime"];
        self.rechargePhone = dictionary[@"rechargePhone"];
        self.status = dictionary[@"status"];
        self.statusStr = dictionary[@"statusStr"];
    }
    return self;
}


@end

@implementation ShelfInfos

-(instancetype)init{
    self = [super init];
    if (self){
        
    }
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
};

@end


@implementation BKPhoneCardsList

-(instancetype)init{
    self = [super init];
    if (self){
        
    }
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
};

@end

@implementation OrderAlipayInfo

-(instancetype)init{
    self = [super init];
    if (self){
        
    }
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
    if ([key isEqualToString:@"pay_way_infos"]) {
        self.pay_way_info = [NSArray arrayWithArray:value];
    }
}
@end



@implementation AddressBookPerson

-(instancetype)init{
    self = [super init];
    if (self){
        
    }
    return self;
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
};

@end
